
if True:
    a = 1      # <- move statement down here
else:
    b = 2